<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Doxygen: common/include/pcl/common/common.h 文件参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Doxygen
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('common_2include_2pcl_2common_2common_8h.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#func-members">函数</a>  </div>
  <div class="headertitle">
<div class="title">common.h 文件参考<div class="ingroups"><a class="el" href="group__common.html">Common components</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;pcl/pcl_base.h&gt;</code><br />
<code>#include &lt;cfloat&gt;</code><br />
<code>#include &lt;pcl/common/impl/common.hpp&gt;</code><br />
</div>
<p><a href="common_2include_2pcl_2common_2common_8h_source.html">浏览源代码.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
函数</h2></td></tr>
<tr class="memitem:ga54999c02ba9bee56404539747b0fda51"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__common.html#ga54999c02ba9bee56404539747b0fda51">pcl::getAngle3D</a> (const Eigen::Vector4f &amp;v1, const Eigen::Vector4f &amp;v2, const bool in_degree=false)</td></tr>
<tr class="memdesc:ga54999c02ba9bee56404539747b0fda51"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compute the smallest angle between two 3D vectors in radians (default) or degree.  <a href="group__common.html#ga54999c02ba9bee56404539747b0fda51">更多...</a><br /></td></tr>
<tr class="separator:ga54999c02ba9bee56404539747b0fda51"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8c74d7c459961a2650c22eff8126aef8"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__common.html#ga8c74d7c459961a2650c22eff8126aef8">pcl::getAngle3D</a> (const Eigen::Vector3f &amp;v1, const Eigen::Vector3f &amp;v2, const bool in_degree=false)</td></tr>
<tr class="memdesc:ga8c74d7c459961a2650c22eff8126aef8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compute the smallest angle between two 3D vectors in radians (default) or degree.  <a href="group__common.html#ga8c74d7c459961a2650c22eff8126aef8">更多...</a><br /></td></tr>
<tr class="separator:ga8c74d7c459961a2650c22eff8126aef8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3349ce9c26d4acbb1adae1e9b2d5f7e5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__common.html#ga3349ce9c26d4acbb1adae1e9b2d5f7e5">pcl::getMeanStd</a> (const std::vector&lt; float &gt; &amp;values, double &amp;mean, double &amp;stddev)</td></tr>
<tr class="memdesc:ga3349ce9c26d4acbb1adae1e9b2d5f7e5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compute both the mean and the standard deviation of an array of values  <a href="group__common.html#ga3349ce9c26d4acbb1adae1e9b2d5f7e5">更多...</a><br /></td></tr>
<tr class="separator:ga3349ce9c26d4acbb1adae1e9b2d5f7e5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab831a44b375fa7e6bada740d1d17e247"><td class="memTemplParams" colspan="2">template&lt;typename PointT &gt; </td></tr>
<tr class="memitem:gab831a44b375fa7e6bada740d1d17e247"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__common.html#gab831a44b375fa7e6bada740d1d17e247">pcl::getPointsInBox</a> (const <a class="el" href="classpcl_1_1_point_cloud.html">pcl::PointCloud</a>&lt; <a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a> &gt; &amp;cloud, Eigen::Vector4f &amp;min_pt, Eigen::Vector4f &amp;max_pt, std::vector&lt; int &gt; &amp;indices)</td></tr>
<tr class="memdesc:gab831a44b375fa7e6bada740d1d17e247"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a set of points residing in a box given its bounds  <a href="group__common.html#gab831a44b375fa7e6bada740d1d17e247">更多...</a><br /></td></tr>
<tr class="separator:gab831a44b375fa7e6bada740d1d17e247"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1583a71aef0f54550adef0ebfef89edd"><td class="memTemplParams" colspan="2">template&lt;typename PointT &gt; </td></tr>
<tr class="memitem:ga1583a71aef0f54550adef0ebfef89edd"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__common.html#ga1583a71aef0f54550adef0ebfef89edd">pcl::getMaxDistance</a> (const <a class="el" href="classpcl_1_1_point_cloud.html">pcl::PointCloud</a>&lt; <a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a> &gt; &amp;cloud, const Eigen::Vector4f &amp;pivot_pt, Eigen::Vector4f &amp;max_pt)</td></tr>
<tr class="memdesc:ga1583a71aef0f54550adef0ebfef89edd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the point at maximum distance from a given point and a given pointcloud  <a href="group__common.html#ga1583a71aef0f54550adef0ebfef89edd">更多...</a><br /></td></tr>
<tr class="separator:ga1583a71aef0f54550adef0ebfef89edd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab5669ac9649b383c053ef67cc06e6b55"><td class="memTemplParams" colspan="2">template&lt;typename PointT &gt; </td></tr>
<tr class="memitem:gab5669ac9649b383c053ef67cc06e6b55"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__common.html#gab5669ac9649b383c053ef67cc06e6b55">pcl::getMaxDistance</a> (const <a class="el" href="classpcl_1_1_point_cloud.html">pcl::PointCloud</a>&lt; <a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a> &gt; &amp;cloud, const std::vector&lt; int &gt; &amp;indices, const Eigen::Vector4f &amp;pivot_pt, Eigen::Vector4f &amp;max_pt)</td></tr>
<tr class="memdesc:gab5669ac9649b383c053ef67cc06e6b55"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the point at maximum distance from a given point and a given pointcloud  <a href="group__common.html#gab5669ac9649b383c053ef67cc06e6b55">更多...</a><br /></td></tr>
<tr class="separator:gab5669ac9649b383c053ef67cc06e6b55"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3166f09aafd659f69dc75e63f5e10f81"><td class="memTemplParams" colspan="2">template&lt;typename PointT &gt; </td></tr>
<tr class="memitem:ga3166f09aafd659f69dc75e63f5e10f81"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__common.html#ga3166f09aafd659f69dc75e63f5e10f81">pcl::getMinMax3D</a> (const <a class="el" href="classpcl_1_1_point_cloud.html">pcl::PointCloud</a>&lt; <a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a> &gt; &amp;cloud, <a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a> &amp;min_pt, <a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a> &amp;max_pt)</td></tr>
<tr class="memdesc:ga3166f09aafd659f69dc75e63f5e10f81"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the minimum and maximum values on each of the 3 (x-y-z) dimensions in a given pointcloud  <a href="group__common.html#ga3166f09aafd659f69dc75e63f5e10f81">更多...</a><br /></td></tr>
<tr class="separator:ga3166f09aafd659f69dc75e63f5e10f81"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafd9010977f5e52b35b484be7624df3f8"><td class="memTemplParams" colspan="2">template&lt;typename PointT &gt; </td></tr>
<tr class="memitem:gafd9010977f5e52b35b484be7624df3f8"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__common.html#gafd9010977f5e52b35b484be7624df3f8">pcl::getMinMax3D</a> (const <a class="el" href="classpcl_1_1_point_cloud.html">pcl::PointCloud</a>&lt; <a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a> &gt; &amp;cloud, Eigen::Vector4f &amp;min_pt, Eigen::Vector4f &amp;max_pt)</td></tr>
<tr class="memdesc:gafd9010977f5e52b35b484be7624df3f8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the minimum and maximum values on each of the 3 (x-y-z) dimensions in a given pointcloud  <a href="group__common.html#gafd9010977f5e52b35b484be7624df3f8">更多...</a><br /></td></tr>
<tr class="separator:gafd9010977f5e52b35b484be7624df3f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga47dac23a8a283dd07f62fa7aa21b63ec"><td class="memTemplParams" colspan="2">template&lt;typename PointT &gt; </td></tr>
<tr class="memitem:ga47dac23a8a283dd07f62fa7aa21b63ec"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__common.html#ga47dac23a8a283dd07f62fa7aa21b63ec">pcl::getMinMax3D</a> (const <a class="el" href="classpcl_1_1_point_cloud.html">pcl::PointCloud</a>&lt; <a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a> &gt; &amp;cloud, const std::vector&lt; int &gt; &amp;indices, Eigen::Vector4f &amp;min_pt, Eigen::Vector4f &amp;max_pt)</td></tr>
<tr class="memdesc:ga47dac23a8a283dd07f62fa7aa21b63ec"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the minimum and maximum values on each of the 3 (x-y-z) dimensions in a given pointcloud  <a href="group__common.html#ga47dac23a8a283dd07f62fa7aa21b63ec">更多...</a><br /></td></tr>
<tr class="separator:ga47dac23a8a283dd07f62fa7aa21b63ec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga41eb246206d51f77a8cb82b5d963e6a2"><td class="memTemplParams" colspan="2">template&lt;typename PointT &gt; </td></tr>
<tr class="memitem:ga41eb246206d51f77a8cb82b5d963e6a2"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__common.html#ga41eb246206d51f77a8cb82b5d963e6a2">pcl::getMinMax3D</a> (const <a class="el" href="classpcl_1_1_point_cloud.html">pcl::PointCloud</a>&lt; <a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a> &gt; &amp;cloud, const <a class="el" href="structpcl_1_1_point_indices.html">pcl::PointIndices</a> &amp;indices, Eigen::Vector4f &amp;min_pt, Eigen::Vector4f &amp;max_pt)</td></tr>
<tr class="memdesc:ga41eb246206d51f77a8cb82b5d963e6a2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the minimum and maximum values on each of the 3 (x-y-z) dimensions in a given pointcloud  <a href="group__common.html#ga41eb246206d51f77a8cb82b5d963e6a2">更多...</a><br /></td></tr>
<tr class="separator:ga41eb246206d51f77a8cb82b5d963e6a2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab64d6ba9e834d29feda71a76d3ec841f"><td class="memTemplParams" colspan="2">template&lt;typename PointT &gt; </td></tr>
<tr class="memitem:gab64d6ba9e834d29feda71a76d3ec841f"><td class="memTemplItemLeft" align="right" valign="top">double&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__common.html#gab64d6ba9e834d29feda71a76d3ec841f">pcl::getCircumcircleRadius</a> (const <a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a> &amp;pa, const <a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a> &amp;pb, const <a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a> &amp;pc)</td></tr>
<tr class="memdesc:gab64d6ba9e834d29feda71a76d3ec841f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compute the radius of a circumscribed circle for a triangle formed of three points pa, pb, and pc  <a href="group__common.html#gab64d6ba9e834d29feda71a76d3ec841f">更多...</a><br /></td></tr>
<tr class="separator:gab64d6ba9e834d29feda71a76d3ec841f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaacff2e632283be60810678d329b166ec"><td class="memTemplParams" colspan="2">template&lt;typename PointT &gt; </td></tr>
<tr class="memitem:gaacff2e632283be60810678d329b166ec"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__common.html#gaacff2e632283be60810678d329b166ec">pcl::getMinMax</a> (const <a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a> &amp;histogram, int len, float &amp;min_p, float &amp;max_p)</td></tr>
<tr class="memdesc:gaacff2e632283be60810678d329b166ec"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the minimum and maximum values on a point histogram  <a href="group__common.html#gaacff2e632283be60810678d329b166ec">更多...</a><br /></td></tr>
<tr class="separator:gaacff2e632283be60810678d329b166ec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1a9e18520c49be76f2a28834e2da8a56"><td class="memTemplParams" colspan="2">template&lt;typename PointT &gt; </td></tr>
<tr class="memitem:ga1a9e18520c49be76f2a28834e2da8a56"><td class="memTemplItemLeft" align="right" valign="top">float&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__common.html#ga1a9e18520c49be76f2a28834e2da8a56">pcl::calculatePolygonArea</a> (const <a class="el" href="classpcl_1_1_point_cloud.html">pcl::PointCloud</a>&lt; <a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a> &gt; &amp;polygon)</td></tr>
<tr class="memdesc:ga1a9e18520c49be76f2a28834e2da8a56"><td class="mdescLeft">&#160;</td><td class="mdescRight">Calculate the area of a polygon given a point cloud that defines the polygon  <a href="group__common.html#ga1a9e18520c49be76f2a28834e2da8a56">更多...</a><br /></td></tr>
<tr class="separator:ga1a9e18520c49be76f2a28834e2da8a56"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga287e6ce2d4be348c059baf31eaf2dd54"><td class="memItemLeft" align="right" valign="top">PCL_EXPORTS void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__common.html#ga287e6ce2d4be348c059baf31eaf2dd54">pcl::getMinMax</a> (const <a class="el" href="structpcl_1_1_p_c_l_point_cloud2.html">pcl::PCLPointCloud2</a> &amp;cloud, int idx, const std::string &amp;field_name, float &amp;min_p, float &amp;max_p)</td></tr>
<tr class="memdesc:ga287e6ce2d4be348c059baf31eaf2dd54"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the minimum and maximum values on a point histogram  <a href="group__common.html#ga287e6ce2d4be348c059baf31eaf2dd54">更多...</a><br /></td></tr>
<tr class="separator:ga287e6ce2d4be348c059baf31eaf2dd54"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacb684087702126b29c8b99f1e2c2786b"><td class="memItemLeft" align="right" valign="top">PCL_EXPORTS void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__common.html#gacb684087702126b29c8b99f1e2c2786b">pcl::getMeanStdDev</a> (const std::vector&lt; float &gt; &amp;values, double &amp;mean, double &amp;stddev)</td></tr>
<tr class="memdesc:gacb684087702126b29c8b99f1e2c2786b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compute both the mean and the standard deviation of an array of values  <a href="group__common.html#gacb684087702126b29c8b99f1e2c2786b">更多...</a><br /></td></tr>
<tr class="separator:gacb684087702126b29c8b99f1e2c2786b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>Define standard C methods and C++ classes that are common to all methods </p>
</div></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_bdd9a5d540de89e9fe90efdfc6973a4f.html">common</a></li><li class="navelem"><a class="el" href="dir_11fbc4217d50ab21044e5ad6614aede5.html">include</a></li><li class="navelem"><a class="el" href="dir_39ef148c3cf3468c290ae8c03b3c03af.html">pcl</a></li><li class="navelem"><a class="el" href="dir_474708a720ff06817ce2c12e28baf137.html">common</a></li><li class="navelem"><a class="el" href="common_2include_2pcl_2common_2common_8h.html">common.h</a></li>
    <li class="footer">制作者 <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
